<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
性别：<input type="radio" th:checked="${sex}=='男'"/>男
<input type="radio" th:checked="${sex}=='女'"/>女
<br/>
城市：<select>
    <option th:selected="${city}=='yueyang'">岳阳</option>
    <option th:selected="${city}=='shanghai'">上海</option>
    <option th:selected="${city}=='changsha'">长沙</option>
</select>
<br/>
<h2 th:text="${#dates.format(nowTime,'yyyy-MM-dd HH:mm:ss')}"></h2>
<br/>
<table border="1">
    <tr>
        <th>序号</th>
        <th>id</th>
        <th>用户名</th>
        <th>密码</th>
    </tr>
    <tr th:each="user,sta:${users}">
        <td th:text="${sta.index}"></td>
        <td th:text="${user.id}"></td>
        <td th:text="${user.username}"></td>
        <td th:text="${user.pass}"></td>
    </tr>
</table>
</body>
</html>